<?php
include_once('config.php');
$corePath=config::getCommPath();
include_once($corePath."tool.class.php");
include_once($corePath.'Request.php');
//输出类
include_once($corePath.'Response.php');
//获取数据
if (count($_REQUEST)>0){
	Request::$path=dirname(__FILE__).'\\';
	$data = Request::getRequest();
	header("Content-Type: application/json");
	echo tool::JSON($data);
	//输出结果
	//Response::sendResponse($data,'application/json');
}